SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e831e4b02465d6b692269be2ef236b761eece5e125293b1f44859259f8693c5' 
  AND token = '6pA1g1zIE1nSa2CNby/yIJ0FdclRT/GkoNQ8jxVifHk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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