SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78589576c220882995710ab532b7baecf799b8618a7b6b7a06f385f3745a3f07' 
  AND token = '8DP9VuNuLJaimPISsVCSmhRJ+7Isf/20cIMhG26ZZwc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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