SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40a13ad6a6e45c2c8dcbe968832ca6c6a6093fb79da116898ddd2f58900db948' 
  AND token = 'rnk+peeUDlQxKAFVTvtp9ih4WtCqiy4cg+0H8LIfxw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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