SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8494b0ff5c87f9b660abe7cea4be244162934aec772b8135f92e590d364a273' 
  AND token = 'iUBATfB/vak0dJgH9EwvR6jJxFNRw5P8dvtSL9eJ3i0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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