SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdcbf0788805374fb66f663f0b9d81013d0027619e5a362254464cf966dd91ba' 
  AND token = '8EawJKMbH2RlVamOojJCC0oJ9qD3nDzPHLz34YyL3p4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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