SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be01f74d7ad54190b50ca3885d7391cc75d1f3e2c8d41b497a9143af2ea371cf' 
  AND token = 'msiu+sDjy3Xxc8mFRVXm7sJSJJnwcy+ZNIcjEVp/g7M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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