SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04a5d6eb7b0784618f51b988a3a4ffcc0f33b8b2ddd9d106ac4d8ca501c8510a' 
  AND token = 'ejVEJCjnyeVV50/QLZrAs6sx8/aisEgWyz04G1cWSrs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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