SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccc9378e95eeb1f0701a10adebdfc8bcb570efb72dc3f70491fc1184fceedc0e' 
  AND token = 'c8OWDrwFkRvBb5yaLVrKvJzmk3TMTmc6ccrXK/IQL3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}