SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1734a93e0010d341d4f7bd6cc8fd360eeba6f9d5df9f607f1d163e4a60b46bed' 
  AND token = 'd7jJw/W4vPHq3Lfy2p6VfrD+MdmVMz6FMEG8ESwqmI8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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