SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0325a43e9c4393d9683b8154f546148c51a49c76fbfd2d61db5664bc44ad6c80' 
  AND token = 'bBpS1zjoiNxRYP0dmJkpm2lS3pu8gZj1La4k7HixVkk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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