SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0596a63ff021fb3c4e20f1c5ca3f56366c8bfae9bcd5a7481057fcf8d7f4e56b' 
  AND token = 'wokBmt3pEx0yita9jR52xO/F9Y5rBFo36SqMCHb1xHc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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