SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ff9fa42561e84a7fa5ef703ee03ca52023f7879eabcde0bd70dd7c40bc86711' 
  AND token = 'JOrjELMoyxEE8krGNn/wjVWV7Br6Ob/41ApBOG5mMcc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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