SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e817fa7e3d6acbb1797e20829553458242b85be43577a8ceeb32be882d7040b6' 
  AND token = 'Kr4nTvPQZHHukPxz+k7zld91fk2Z+aNXEHs9inmv9i4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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