SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c18917781bd68874bbb05456a73d527d4cef1d68218a0dc658e6053833a13962' 
  AND token = '/wCGhRiWYdia5rO8/y2ipHWgLQUg7kMz4u97WLhfPZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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