SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e1a7fa00654a48585af56af138b1324ab7350d14cabdb9b6b728e4f3fe6c2e0' 
  AND token = 'kRAsAYbc9uYsiOoI3IoHVUHX/Ky6KcNVO9Jcn+jxf6M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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