SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef3152d8de3ce92ece5181b943ccba257706cb335eac1f65e0c2d18504d12a71' 
  AND token = 'PHQ0IXQ4hc+vqwjXbqkk7tBbOy/Z2WWf/0fCKgX2xSI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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