SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5db4b6038fcba73fbb45f29e4840f17ea9d46e0a4c8e6b016333eff7114e7c27' 
  AND token = 'hi4lYxBXCJCVh/rhymBrmyOrDqQfdCtfNbWpX3hAQt4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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