SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9013f13fcdb811f6a87bae46e14800444ecf828f0ca05d93834fe5ec8e9f05f' 
  AND token = 'zOAg2UlP7ZkCrdvaAK+877PIQUJXd1xOcuWI6xj6Tjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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