SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba4de653800bc14c5eb046fc798f4ac9c4916c280fe3b1a6e81339a2fdc41163' 
  AND token = 'mJP9eTnFLiH1ohXV1CLAIlSOBuWFQ58BYHB5I7K4/hk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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