SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e2f205f0b89c534aafb287cd31fe1be16ff8804a4fb88afd718e0c1dfebfa95' 
  AND token = 'c2hhxov9hs2N6Hj791H7Hj6sCKaUbKBMbZSVzdI0pDo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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