SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d1ffd557bb4e97227f9f9c883a5dac388b7e2cba8e33a886f38fe818afea69d' 
  AND token = 'RYubMxSXmh4OofiN4z6TijeacuBpB8x+EKhWGDQ+F6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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