SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c862982e996546f30dbeec586b228ee510b5f795203c555d78d4eec84016737e' 
  AND token = 'msefKQuYC2xleqV4EvV4+R9yXFezHg6lkdRslsU5hHI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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