SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9bd34cda5958b6e9fad22731364f7e685fbac04c6b66e93157b45fa0787f68e4' 
  AND token = 'cbW8E4gQv/sKTQ+OubPIhD3sb4+lOKnDFTX+pBT6Rx8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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