SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ff87de1e2835620c6b474ffc6a4d66ddd0e2432784c9f407ea45f96122fd2d7' 
  AND token = 'DhfFigMhGxmwXjZp9bsMhL3VMB4iev+m53HuIk5D9Oo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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